home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Applications 1996 May
/
SGI IRIX 6.2 Applications 1996 May.iso
/
dist
/
impr_dev.idb
/
usr
/
impressario
/
src
/
examples
/
libpod
/
Makefile.z
/
Makefile
Wrap
Makefile
|
1996-05-06
|
2KB
|
84 lines
#! smake
#**************************************************************************
#* *
#* Copyright (C) 1991, Silicon Graphics, Inc. *
#* All Rights Reserved. *
#* *
#* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.; *
#* the contents of this file may not be disclosed to third parties, *
#* copied or duplicated in any form, in whole or in part, without the *
#* prior written permission of Silicon Graphics, Inc. *
#* *
#* RESTRICTED RIGHTS LEGEND: *
#* Use, duplication or disclosure by the Government is subject to *
#* restrictions as set forth in subdivision (c)(1)(ii) of the Rights *
#* in Technical Data and Computer Software clause at DFARS *
#* 252.227-7013, and/or in similar or successor clauses in the FAR, *
#* DOD or NASA FAR Supplement. Unpublished - rights reserved under *
#* the Copyright Laws of the United States. *
#**************************************************************************
#*
#* Makefile (user.makefile) - libpod example programs
#*
#* $Revision: 1.4 $
#*
#*
#**************************************************************************/
include /usr/include/make/commondefs
#
# The LOCAL files are programs that use only the local form of the
# libpod functions. These programs are linked only with libpod.a.
# The STD files are programs that use the standard form of the
# libpod functions and are linked with libpod.a, libspool.a and libsun.a
#
LOCAL_CFILES = message.c \
lstatus.c \
linfo.c \
logit.c
STD_CFILES = status.c \
info.c \
readlog.c \
pagesize.c
LOCAL_TARGETS = ${LOCAL_CFILES:.c=}
STD_TARGETS = ${STD_CFILES:.c=}
CFILES = $(LOCAL_CFILES) $(STD_CFILES)
TARGETS = $(LOCAL_TARGETS) $(STD_TARGETS)
LMKDEPFLAGS = $(NULLSUFFIX_MKDEPFLAG)
LOCAL_LLDLIBS = -lpod
LOCAL_LDOPTS = $(VLDOPTS) $(GLDOPTS)
LOCAL_LDLIBS = $(VLDLIBS) $(LOCAL_LLDLIBS) $(GLDLIBS)
LOCAL_LDFLAGS = $(LOCAL_LDOPTS) $(LOCAL_LDLIBS)
STD_LLDLIBS = -lpod -lspool
STD_LDOPTS = $(VLDOPTS) $(GLDOPTS)
STD_LDLIBS = $(VLDLIBS) $(STD_LLDLIBS) $(GLDLIBS)
STD_LDFLAGS = $(STD_LDOPTS) $(STD_LDLIBS)
CVERSION = -xansi
default all: $(TARGETS)
targets: $(TARGETS)
$(LOCAL_TARGETS): $$@.c
$(CCF) $@.c $(LOCAL_LDFLAGS) -o $@
$(STD_TARGETS): $$@.c
$(CCF) $@.c $(STD_LDFLAGS) -o $@
include $(COMMONRULES)
install: all